<template>
  <h1>
    Admin-Thin
    <el-button @click="handleClick"> 按钮1</el-button>
  </h1>
</template>

<script setup lang="ts">
import { getUserApi } from "@/api/user";
defineOptions({
  name: "Welcome"
});
const handleClick = () => {
  console.log("按钮被点击了");
  getUserApi().then(res => {
    console.log(res);
  });
};
</script>
